/*
*/

#ifndef __FORM_H
#define __FORM_H

#ifndef	__PCASE_H
#include "pcase.h"
#endif

#define	DEV_0		0
#define	DEV_1		1
#define	DEV_2		2
#define	DEV_3		3
#define	DEV_PANA	4
#define	DEV_SWDVD	5
#define	DEV_TCL		6
#define	DEV_YAMA	7

#define	FORM_00		0
#define	FORM_08		1
#define	FORM_44		2
#define	FORM_84		3
#define	FORM_88		4
#define	FORM_ITT	5
#define	FORM_JVC	6
#define	FORM_NRC17	7
#define	FORM_RC5	8
#define	FORM_RC6	9
#define	FORM_RCA	10
#define	FORM_RCMM	11
#define	FORM_RECS80	12
#define	FORM_SHARP	13
#define	FORM_SIRC	14
#define	FORM_XSAT	15
#define	FORM_FORM	255

u8	Decode	(BEAM*,KEY*);
u32	Encode	(BEAM*,KEY*);
void	Load	(u32,KEY*,u32,u32);

#endif
